//#include <stdio.h>

#define NAME "yzy"
#define AGE  26

#define ADD_XML_ITEM(format, args...) {  sprintf(chItemBuf, format, ##args); \
                                         sprintf(chSendBuff + iCurrBufLen, "%s", chItemBuf); \
                                         iCurrBufLen += strlen(chItemBuf); \
                                      }



int main(int argc, char **argv)
{
//#ifdef NAME && AGE   //不合法
//    printf("name:%s,age:%d\n", NAME, AGE);
//#endif

ADD_XML_ITEM("<?xml version=\"1.0\" encoding=\"%s\"?>", CHARACTER_SET);
ADD_XML_ITEM("<res><body>");
ADD_XML_ITEM("<retcode>%d</retcode>", smbSendMsg.iRetCode);

	return 0;
}
